// 获取元素和点击操作
const signInBtn = document.getElementById("signIn");
const signUpBtn = document.getElementById("signUp");
const fistForm = document.getElementById("form1");
const secondForm = document.getElementById("form2");
const container = document.querySelector(".container");
const logInBtn = document.getElementById("loginbtn") ;
const regisBtn = document.getElementById("regisbtn") ;

signInBtn.addEventListener("click", () => {
	container.classList.remove("right-panel-active");
});

signUpBtn.addEventListener("click", () => {
	container.classList.add("right-panel-active");
});

//fistForm.addEventListener("submit", (e) => e.preventDefault());
//secondForm.addEventListener("submit", (e) => e.preventDefault());

logInBtn.onclick = new function (){
	//alert("?")
	//secondForm.submit() ;
}

regisBtn.onclick=new function () {
	//fistForm.submit() ;
}